package com.vichat.workflow.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2018-05-22 09:04:48.892
 */
@Entity
@Table(name = "INS_WF_NODE_ATTR",catalog = "wfdb")
public class InsWfNodeAttr implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "INS_WF_NODE_ATTR";

    /**属性实例编号 */
	public static final String ALIAS_INS_ATTR_ID = "INS_ATTR_ID";
    /**节点实例编号 */
	public static final String ALIAS_INS_NODE_ID = "INS_NODE_ID";
    /**流程实例编号 */
	public static final String ALIAS_INS_FLOW_ID = "INS_FLOW_ID";
    /**属性块编号 */
	public static final String ALIAS_FIELDSET_ID = "FIELDSET_ID";
    /**节点编号 */
	public static final String ALIAS_NODE_ID = "NODE_ID";
    /**流程编号 */
	public static final String ALIAS_FLOW_ID = "FLOW_ID";
    /**属性编码 */
	public static final String ALIAS_ATTR_CODE = "ATTR_CODE";
    /**属性名称 */
	public static final String ALIAS_ATTR_NAME = "ATTR_NAME";
    /**属性值 */
	public static final String ALIAS_ATTR_VALUE = "ATTR_VALUE";
    /**属性显示值 */
	public static final String ALIAS_DISPLAY_VALUE = "DISPLAY_VALUE";
    /** */
	public static final String ALIAS_OLD_ATTR_VALUE = "OLD_ATTR_VALUE";
    /** */
	public static final String ALIAS_OLD_DISPLAY_VALUE = "OLD_DISPLAY_VALUE";
    /** */
	public static final String ALIAS_CREATE_UID = "CREATE_UID";
    /** */
	public static final String ALIAS_CREATE_TIME = "CREATE_TIME";
    /** */
	public static final String ALIAS_UPDATE_UID = "UPDATE_UID";
    /** */
	public static final String ALIAS_UPDATE_TIME = "UPDATE_TIME";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "INS_ATTR_ID", unique = true, nullable = false)
    public java.lang.Long insAttrId;
  
 	@Column(name = "INS_NODE_ID")
    public java.lang.Long insNodeId;
  
 	@Column(name = "INS_FLOW_ID")
    public java.lang.Long insFlowId;
  
 	@Column(name = "FIELDSET_ID")
    public java.lang.Long fieldsetId;
  
 	@Column(name = "NODE_ID")
    public java.lang.Long nodeId;
  
 	@Column(name = "FLOW_ID")
    public java.lang.Long flowId;
  
 	@Column(name = "ATTR_CODE")
    public java.lang.String attrCode;
  
 	@Column(name = "ATTR_NAME")
    public java.lang.String attrName;
  
 	@Column(name = "ATTR_VALUE")
    public java.lang.String attrValue;
  
 	@Column(name = "DISPLAY_VALUE")
    public java.lang.String displayValue;
  
 	@Column(name = "OLD_ATTR_VALUE")
    public java.lang.String oldAttrValue;
  
 	@Column(name = "OLD_DISPLAY_VALUE")
    public java.lang.String oldDisplayValue;
  
 	@Column(name = "CREATE_UID")
    public java.lang.Long createUid;
  
 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME")
    public java.util.Date createTime;
  
 	@Column(name = "UPDATE_UID")
    public java.lang.Long updateUid;
  
 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "UPDATE_TIME")
    public java.util.Date updateTime;
  





	public java.lang.Long getInsAttrId() {
		return this.insAttrId;
	}
	
	public void setInsAttrId(java.lang.Long value) {
		this.insAttrId = value;
	}

	public java.lang.Long getInsNodeId() {
		return this.insNodeId;
	}
	
	public void setInsNodeId(java.lang.Long value) {
		this.insNodeId = value;
	}

	public java.lang.Long getInsFlowId() {
		return this.insFlowId;
	}
	
	public void setInsFlowId(java.lang.Long value) {
		this.insFlowId = value;
	}

	public java.lang.Long getFieldsetId() {
		return this.fieldsetId;
	}
	
	public void setFieldsetId(java.lang.Long value) {
		this.fieldsetId = value;
	}

	public java.lang.Long getNodeId() {
		return this.nodeId;
	}
	
	public void setNodeId(java.lang.Long value) {
		this.nodeId = value;
	}

	public java.lang.Long getFlowId() {
		return this.flowId;
	}
	
	public void setFlowId(java.lang.Long value) {
		this.flowId = value;
	}

	public java.lang.String getAttrCode() {
		return this.attrCode;
	}
	
	public void setAttrCode(java.lang.String value) {
		this.attrCode = value;
	}

	public java.lang.String getAttrName() {
		return this.attrName;
	}
	
	public void setAttrName(java.lang.String value) {
		this.attrName = value;
	}

	public java.lang.String getAttrValue() {
		return this.attrValue;
	}
	
	public void setAttrValue(java.lang.String value) {
		this.attrValue = value;
	}

	public java.lang.String getDisplayValue() {
		return this.displayValue;
	}
	
	public void setDisplayValue(java.lang.String value) {
		this.displayValue = value;
	}

	public java.lang.String getOldAttrValue() {
		return this.oldAttrValue;
	}
	
	public void setOldAttrValue(java.lang.String value) {
		this.oldAttrValue = value;
	}

	public java.lang.String getOldDisplayValue() {
		return this.oldDisplayValue;
	}
	
	public void setOldDisplayValue(java.lang.String value) {
		this.oldDisplayValue = value;
	}

	public java.lang.Long getCreateUid() {
		return this.createUid;
	}
	
	public void setCreateUid(java.lang.Long value) {
		this.createUid = value;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	public void setCreateTime(java.util.Date value) {
		this.createTime = value;
	}

	public java.lang.Long getUpdateUid() {
		return this.updateUid;
	}
	
	public void setUpdateUid(java.lang.Long value) {
		this.updateUid = value;
	}

	public java.util.Date getUpdateTime() {
		return this.updateTime;
	}
	
	public void setUpdateTime(java.util.Date value) {
		this.updateTime = value;
	}


	
	public InsWfNodeAttr() {
	}
	
	public InsWfNodeAttr(boolean qryflag) {
	    if(qryflag){
	    		this.insAttrId = null;
				this.insNodeId = null;
				this.insFlowId = null;
				this.fieldsetId = null;
				this.nodeId = null;
				this.flowId = null;
				this.attrCode = null;
				this.attrName = null;
				this.attrValue = null;
				this.displayValue = null;
				this.oldAttrValue = null;
				this.oldDisplayValue = null;
				this.createUid = null;
				this.createTime = null;
				this.updateUid = null;
				this.updateTime = null;
			    }
	}


	public InsWfNodeAttr(
	    java.lang.Long inInsAttrId,
	    java.lang.Long inInsNodeId,
	    java.lang.Long inInsFlowId,
	    java.lang.Long inFieldsetId,
	    java.lang.Long inNodeId,
	    java.lang.Long inFlowId,
	    java.lang.String inAttrCode,
	    java.lang.String inAttrName,
	    java.lang.String inAttrValue,
	    java.lang.String inDisplayValue,
	    java.lang.String inOldAttrValue,
	    java.lang.String inOldDisplayValue,
	    java.lang.Long inCreateUid,
	    java.util.Date inCreateTime,
	    java.lang.Long inUpdateUid,
		java.util.Date inUpdateTime
	 ) {
		super();
				this.insAttrId = inInsAttrId;
				this.insNodeId = inInsNodeId;
				this.insFlowId = inInsFlowId;
				this.fieldsetId = inFieldsetId;
				this.nodeId = inNodeId;
				this.flowId = inFlowId;
				this.attrCode = inAttrCode;
				this.attrName = inAttrName;
				this.attrValue = inAttrValue;
				this.displayValue = inDisplayValue;
				this.oldAttrValue = inOldAttrValue;
				this.oldDisplayValue = inOldDisplayValue;
				this.createUid = inCreateUid;
				this.createTime = inCreateTime;
				this.updateUid = inUpdateUid;
				this.updateTime = inUpdateTime;
			}





}

